package com.intel.two.pojo.record;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 居民租房档案
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RentingaHouseRecord {
    private Integer r_id;
    private String r_name;
    private String r_sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date r_checkInTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date r_dueTime;
    private String r_rent;
    private String r_houseLocation;
    private String r_emergencyContact;
}
